package com.gali.mall.request.productReq;

import javax.validation.constraints.Min;

/**
 * @author gali
 * @date 2022/4/11 21:19
 */
public class SelectProductReq {
    @Min(value = 1,message = "id最小为1")
    private Integer id;
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
